
// import oimo.common.Mat3;

import { Mat3 } from "../../common/Mat3";

/**
 * This class holds mass and moment of inertia for a rigid body.
 */
export class MassData {
	/**
	 * Mass. `0` for a non-dynamic rigid body.
	 */
	mass: number;

	/**
	 * Inertia tensor in local space. Zero matrix for a non-dynamic rigid body.
	 */
	localInertia: Mat3;

	/**
	 * Default constructor.
	 */
	constructor() {
		this.mass = 0;
		this.localInertia = new Mat3();
	}

}
